package com.tengju.user.infrastructure.persistence.mybatis.mapper.dealer.custom;

import com.tengju.user.infrastructure.persistence.mybatis.dataobject.StarBlacklistDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StarBlacklistDOCustomMapper {


    List<StarBlacklistDO> listStarBlackByIdCode(@Param("idCode") Long idCode);


    List<StarBlacklistDO> listStarBlackByIdCodeList(@Param("idCodeList") List<Long> idCodes);


    void batchUpdateOrInsertStarLimit(
            @Param("starBlacklistDOList") List<StarBlacklistDO> starBlacklistDOList);

    void batchDeleteUser(@Param("idCodes") List<Long> idCodeValues,
            @Param("username") String username);

    int insertSelective(StarBlacklistDO record);

    int updateByIdCodeSelective(StarBlacklistDO record);

    int delete(long value);

    List<StarBlacklistDO> queryByPage(
            @Param("offset") Integer offset,
            @Param("pageSize") Integer pageSize);

    int count();
}